To be able to edit code and run cells, you need to run the notebook yourself. Where would you like to run the notebook?

This notebook takes about 30 seconds to run.

In the cloud (experimental)

Binder is a free, open source service that runs scientific notebooks in the cloud! It will take a while, usually 2-7 minutes to get a session.

On your computer

(Recommended if you want to store your changes.)

  1. Copy the notebook URL:
  2. Run Pluto

    (Also see: How to install Julia and Pluto)

  3. Paste URL in the Open box

Frontmatter

If you are publishing this notebook on the web, you can set the parameters below to provide HTML metadata. This is useful for search engines and social media.

Author 1
👀 Reading hidden code
sleep(3)
3.0 s
👀 Reading hidden code
using PlutoUI
189 ms
👀 Reading hidden code
Enter cell code...
68.9 μs
👀 Reading hidden code
y = [3,4,i]
15.6 ms
👀 Reading hidden code
@bind N2 Slider(0:0.000000000001:1)
423 ms
👀 Reading hidden code
[1:5..., N2, 70:800...]
35.0 ms
0.005692357209878929
👀 Reading hidden code
N = rand()
12.9 μs
👀 Reading hidden code
mutable struct A
x
y
end
874 μs
👀 Reading hidden code
begin
a = A(6,6)
a.x = [1,a]
a
end
15.9 ms
x = [Ref(1), a, d,y,n,[1,N],60:300...]
👀 Reading hidden code
68.2 ms
[x,x]
👀 Reading hidden code
11.8 μs
Dict(i => i for i in 1:100)
👀 Reading hidden code
96.0 ms
0x1f4f3f997a7838b4
objectid(x)
👀 Reading hidden code
13.5 μs
html"""
<script>
const x = html`<img src="https://i.imgur.com/2j12AxI.jpg">`

var i = 0
setInterval(() => {
x.setAttribute("height", 200 + 200*Math.sin(i / 5))
i++
}, 500)

return x
</script>
"""
👀 Reading hidden code
111 μs
d = Dict(1 => 2, i => i, [3,4]=>[5,6])
👀 Reading hidden code
117 ms
(1,2)
👀 Reading hidden code
10.3 μs
# map(identity, zip(eachindex(n), n))
👀 Reading hidden code
10.1 μs
n = (a=1, b=2)
👀 Reading hidden code
16.3 μs
i
👀 Reading hidden code
10.1 μs

👀 Reading hidden code
68.2 μs
1
2
1 => 2
👀 Reading hidden code
10.6 μs
"/tmp/jl_cvonhW"
f = download("https://fonsp.com/img/doggoSmall.jpg?raw=true")
👀 Reading hidden code
201 ms
"/tmp/jl_RJzG5j"
f2 = download("https://i.imgur.com/2j12AxI.jpg")
👀 Reading hidden code
90.8 ms
i = Show(MIME"image/jpg"(), read(f))
👀 Reading hidden code
2.6 ms
i2 = Show(MIME"image/jpg"(), read(f2))
👀 Reading hidden code
71.4 μs